package com.topvision.service.impl.ar;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.ar.ArFaceMapper;
import com.topvision.model.ar.ArFace;
import com.topvision.service.ar.ArFaceService;

@Service("arFaceService")
public class ArFaceServiceImpl implements ArFaceService {
	@Autowired
	private ArFaceMapper arFaceMapper;
	
	@Override
	public ArFace queryObject(Long id){
		return arFaceMapper.queryObject(id);
	}
	
	@Override
	public List<ArFace> queryList(Map<String, Object> map){
		return arFaceMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return arFaceMapper.queryTotal(map);
	}
	
	@Override
	public void save(ArFace arFace){
		arFaceMapper.save(arFace);
	}
	
	@Override
	public void update(ArFace arFace){
		arFaceMapper.update(arFace);
	}
	
	@Override
	public void delete(Long id){
		arFaceMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		arFaceMapper.deleteBatch(ids);
	}

    @Override
    public ArFace queryObjectByMap(Map<String, Object> map){
        return arFaceMapper.queryObjectByMap(map);
    }

    @Override
    public List<ArFace> queryByParam(Map<String, Object> map){
        return arFaceMapper.queryByParam(map);
    }
}
